﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Framework.MQS
{
    public interface IQueue
    {
        /// <summary>
        /// 出队
        /// </summary>
        void Pop(Func<string, bool> func);
        /// <summary>
        /// 入队
        /// </summary>
        void Push(string msg);
    }
}
